package com.bupt.ilink.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @TableName dataset_metadata
 */
@TableName(value ="dataset_metadata")
@Data
public class DatasetMetadata implements Serializable {
    @TableId
    private Long datasetId;

    private String name;

    private String description;

    private String creatorName;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date createdTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date updatedTime;

    private Object status;

    private Object accessLevel;

    private String imagePath;

    private String url;

    private Object reviewStatus;

    private Long downloadNum;

    private Long clickNum;

    private Long shareNum;

    private Long favoriteNum;

    private int fromMinio;

    private static final long serialVersionUID = 1L;
}